package com.wtc.homework2;

public class Teacher extends Employee {
    private double day;
    private double remuneration;

    @Override
    public String say() {
        return super.say() + "，课酬：" + (remuneration * day);
    }

    public Teacher(String name, double sal, double day, double remuneration) {
        super(name, sal);
        this.day = day;
        this.remuneration = remuneration;
    }

    public double getDay() {
        return day;
    }

    public void setDay(double day) {
        this.day = day;
    }

    public double getRemuneration() {
        return remuneration;
    }

    public void setRemuneration(double remuneration) {
        this.remuneration = remuneration;
    }
}
